package com.ruoyi.monitorTools.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 
 * @TableName ais_dynamic_info
 */
@TableName(value ="ais_dynamic_info")
@Data
public class DynamicInfo implements Serializable {
    /**
     * 
     */
    private Long id;

    /**
     * 
     */
    private String mmsi;

    private String icao;


    /**
     * 
     */
    private String status;

    /**
     * 
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date baseTime;

    /**
     * 
     */
    private Double lon;

    /**
     * 
     */
    private Double lat;



    /**
     *
     */
    private BigDecimal speed;

    /**
     * 
     */
    private BigDecimal way;


    /**
     * 
     */
    private Long createTime;

    //1. 飞机 2. 舰船
    @TableField(exist = false)
    private Integer type;

    @TableField(exist = false)
    private String code;



    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}